A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • Calendar - Ends In Invalid Date

    Troubleshooting
    1
    0 Votes
    1 Posts
    300 Views
    E

    Greetings Everyone :)

    I’ve been having an issue for a long time were past events gets “stuck” in the calendar with format:

    “Event Name” - “Ends in Invalid Date”

    The only “workaround” is to manually delete old events from calendar.

    New and current events are working smoothly.

    Tried googling, searching on different forums and on this one without any luck. Last thing I found was to add “showEnd: false,” to the config file with no visual effect.

    config:

    module: 'calendar', header: 'Kommende Aktiviteter', fetchInterval: 3600000, position: 'top_left', config: { fade: false, maximumEntries: "5", showEnd: false, calendars: [ { symbol: 'calenar-check-o ', url: "Calendar Link",

    Any help would be appreciated.

    -Ellingsen

  • 0 Votes
    6 Posts
    787 Views
    Jarhead96097J

    @sdetweil Thank you for such quick responses…I do appreciate it! Here’s the link: https://api.weather.gov/gridpoints/MFR/104,44/forecast/hourly and here’s a snippet of the return that includes the dates and times that end up (apparently) causing the invalid date error:

    "properties": { "updated": "2020-06-05T01:18:34+00:00", "units": "us", "forecastGenerator": "HourlyForecastGenerator", "generatedAt": "2020-06-05T04:36:11+00:00", "updateTime": "2020-06-05T01:18:34+00:00", "validTimes": "2020-06-04T19:00:00+00:00/P7DT17H", "elevation": { "value": 868.98480000000006, "unitCode": "unit:m" },

    Based on what I can compare against the moment.js documentation, I don’t see anything obvious that would cause the error.